﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using CHPM.PL.DesktopUI.Code.Common;
using CHPM.PL.DesktopUI.ServiceReference1;

namespace CHPM.PL.DesktopUI
{
    static class Program
    {
        public static ServiceReference1.MainServiceClient MainServiceClient;
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            IoCContainer.Initialize();
            MainServiceClient = (MainServiceClient)IoCContainer.ServiceLocator.Resolve<IMainService>();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FirstForm());
        }
    }
}
